<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 14-10-28
 * Time: 下午10:39
 */

class ApplypointsService {
    public  $dbutil;
    function __construct($dbutil){
        $this->dbutil =  $dbutil;
    }

    function saveApplyContent($userid,$username,$content){
        $sql = "insert into user_point_apply(userid,username,apply_content,reply_time,state) values('".$userid."','".$username."','".$content."',sysdate(),2)";
        return $this->dbutil->query($sql);

    }
}

?>